var cc__decorate = __decorate;
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.UITtext2 = undefined;
var $2tip2 = require("tip2");
var cc__decorator = cc._decorator;
var ccp_ccclass = cc__decorator.ccclass;
var ccp_property = cc__decorator.property;
var exp_UITtext2 = /* */function (_cc$Component29) {
  function _ctor() {
    var _this132;
    babel_classCallCheck(this, _ctor);
    _this132 = _callSuper(this, _ctor, arguments);
    _this132.itemRoot = null;
    _this132.tipPool = [];
    return _this132;
  }
  babel_inherits(_ctor, _cc$Component29);
  return babel_createClass(_ctor, [{
    key: "showTip",
    value: function showTip(e) {
      var t = this.itemRoot.getComponent(cc.Animation);
      for (var _n67 = 0; _n67 < this.itemRoot.children.length; _n67++) {
        this.itemRoot.children[_n67].getComponent($2tip2.default).setData(e[_n67]);
      }
      t.play("tips", 0);
    }
  }]);
}(cc.Component);
exp_UITtext2.className = "UITtext2";
cc__decorate([ccp_property(cc.Node)], exp_UITtext2.prototype, "itemRoot", undefined);
exp_UITtext2 = cc__decorate([ccp_ccclass], exp_UITtext2);
exports.UITtext2 = exp_UITtext2;